import request from '@/utils/request'

// 环境监测查询设备统计
export function quakeDeviceStat(query) {
  return request({
    url: '/visual/statistics/quakeDeviceStat',
    method: 'get',
    params: query
  })
}

// 查询报警数据
export function statisticsTotalQuakeEvent(query) {
  return request({
    url: '/visual/statistics/statisticsTotalQuakeEvent',
    method: 'get',
    params: query
  })
}

// 环境监测统计总览可视化界面
export function quakeVisualStatistics(query) {
  return request({
    url: '/visual/statistics/quakeVisualStatistics',
    method: 'get',
    params: query
  })
}



// 环境监测统计总览可视化界面
export function quakeDataVisual(query) {
  return request({
    url: '/visual/statistics/quakeDataVisual',
    method: 'get',
    params: query
  })
}


// 环境监测报警数据分类统计（本日）
export function todayQuakeEventStat(query) {
  return request({
    url: '/visual/statistics/todayQuakeEventStat',
    method: 'get',
    params: query
  })
}


// 环境监测报警数据分类统计（本月）
export function monthQuakeEventStat(query) {
  return request({
    url: '/visual/statistics/monthQuakeEventStat',
    method: 'get',
    params: query
  })
}


// 环境监测报警近30日数据趋势
export function thirtyDaysQuakeEventTrend(query) {
  return request({
    url: '/visual/statistics/thirtyDaysQuakeEventTrend',
    method: 'get',
    params: query
  })
}

// 环境监测报警近一年数据统计
export function thisYearQuakeEventStatistics(query) {
  return request({
    url: '/visual/statistics/quakeEventThisYearStatistics',
    method: 'get',
    params: query
  })
}


// 环境监测报警数据分类统计（全部）
export function quakeEventStat(query) {
  return request({
    url: '/visual/statistics/quakeEventStat',
    method: 'get',
    params: query
  })
}
